.homepage {
  width: 100%;
  min-width: 1200px;
  line-height: 22px;

  :global {

    .fade-enter-active,
    .fade-leave-active {
      transition: opacity 0.2s;
    }

    .fade-enter,
    .fade-leave-to {
      opacity: 0;
    }

    .slide-fade-enter-active {
      transition: all 0.2s ease;
    }

    .slide-fade-leave-active {
      transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
    }

    .slide-fade-enter,
    .slide-fade-leave-to {
      transform: translateY(-50px);
      opacity: 0;
    }
  }

  .loginWrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    padding-top: 150px;
    // padding: 18.3%;
    background-color: rgba(0, 0, 0, .5);

    &.show {
      display: block;
      overflow: auto;
    }

    :global {
      .close-icon {
        position: absolute;
        top: 120px;
        // top: 14%;
        left: calc(50% + 240px);
        color: #fff;
        font-size: 70px;
        cursor: pointer;
      }
    }
  }

  .header {
    position: fixed;
    top: 0px;
    width: 100%;
    min-width: 600px;
    left: 0;
    z-index: 800;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
    height: 40px;
    background: #fff;
    padding: 0 30px 0 83px;
    line-height: 36px;
    color: #32324D;

    img {
      vertical-align: middle;
      margin-right: 10px;
      cursor: pointer;
    }

    .loginBtn {
      float: right;
      padding-right: 53px;

      :global {
        .el-button {
          font-size: 14px !important;
        }
      }
    }

    .info {
      float: right;
      display: flex;
      font-size: 14px;
      align-items: center;

      .name {
        padding: 0 14px;
        float: left;
        vertical-align: middle;
        cursor: pointer;
        position: relative;
        line-height: 40px;

        .redPoint {
          width: 6px;
          height: 6px;
          border-radius: 6px;
          background: #F5222D;
          position: absolute;
          left: 33px;
          top: 11px;
        }

        img {
          width: 20px;
          height: 20px;
          vertical-align: middle;
          margin-right: 11px;
          margin-left: 6px;
        }
      }

      .help {
        width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        border-radius: 100%;
        cursor: pointer;
        border: 1px solid #999;
        margin-right: 10px;
      }

      .splice {
        width: 1px;
        height: 30px;
        background: #E7E7E7;
        display: block;
        float: left;
      }

      .logout {
        padding: 0 20px;
        cursor: pointer;
        color: #32324D;
      }
    }

    :global {
      .el-button {
        width: 80px;
        height: 28px;
        padding: 0;
        text-align: center;

        &.el-button--text {
          color: rgba(51, 51, 51, 1);

          &:hover {
            color: #409EFF;
          }
        }
      }
    }
  }

  .content {
    width: 100%;
    min-height: calc(100vh - 180px);
    padding-top: 40px;
    background: #f0f2f5;
  }

  .footer {
    width: 100%;
    height: 180px;
    background: #307BF6;
    padding: 20px 90px 10px 90px;
    position: relative;
    color: #fff;
    font-size: 12px;
    font-weight: 400;

    .center {
      // min-width: 900px;
      // max-width: 1200px;
      margin: auto;
      height: 130px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);

      .part {
        height: 77px;
        width: 45%;
        float: left;
        padding: 0 6px;
        padding-left: 5%;
        padding-right: 5%;

        .title {
          font-size: 16px;
          color: #fff;
        }

        img {
          vertical-align: middle;
          width: 80px;
          height: auto;
        }

        .text {
          color: rgba(255, 255, 255, 0.5);
          margin-top: 10px;
          height: 77px;
          line-height: 20px;

          a {
            text-decoration: none;
            color: rgba(255, 255, 255, 0.5);

            &:not(:last-child) {
              margin-right: 20px;
            }
          }

          img {
            // float: left;
            margin-bottom: 6px;
          }

          .right {
            float: left;
            margin-left: 15px;
            margin-top: 10px;
            // width: 70%;
          }
        }

        &:not(:last-child) {
          // border-right: 1px solid rgba(255, 255, 255, 0.2);
        }

        &:last-child {
          width: 20%;
          padding-right: 0;
          padding-left: 0;

          .text {
            margin-top: 0;
          }
        }

        &:first-child {
          width: 30%;
          padding-left: 0;
          padding-right: 0;
        }
      }
    }

    .support {
      position: absolute;
      width: 100%;
      height: 30px;
      line-height: 30px;
      text-align: center;
      left: 0;
      bottom: 0;
      color: rgba(255, 255, 255, 0.5);
    }
  }

  .navigation {
    position: fixed;
    top: 30%;
    right: 0;
    text-align: right;
    width: 67px;
    height: 365px;
    z-index: 99;
    -webkit-transform: translateX(90%);
    -ms-transform: translateX(90%);
    transform: translateX(90%);
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;

    &.active {
      -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
      transform: translateX(0);
    }

    >span {
      &:not(:last-child) {
        .navItem {
          margin-bottom: 1px;
        }
      }
    }

    .hideBtnBox {
      // float: right;
      width: 1px;
      position: absolute;
      // height: calc(100%);
      overflow: visible;
      left: -15px;
      top: calc(50% - 70px);
      // z-index: 999;

      .hideBtn {
        cursor: pointer;
        width: 15px;
        height: 86px;
        // overflow: hidden;
        position: relative;
        color: #D2D2D2;
        font-size: 14px;

        // top: calc(50% - 40px - 6px);
        // z-index: 999;
        .left {
          background: url("../../assets/left.png") no-repeat center;
          background-size: 15px 86px;
          width: 15px;
          height: 86px;

          &:hover {
            background: url("../../assets/left-hover.png") no-repeat -0.5px 0;
            ;
            background-size: 19px 86px;
          }
        }

        .right {
          background: url("../../assets/right.png") no-repeat center;
          background-size: 15px 86px;
          width: 15px;
          height: 86px;

          &:hover {
            background: url("../../assets/right-hover.png") no-repeat -0.5px 0;
            background-size: 19px 86px;
          }
        }

        .hideBtnTop {
          width: 20px;
          height: 20px;
          transform: rotate(-45deg);
          position: absolute;
          z-index: 1;
          background: #fff;
          top: 1px;
          left: 4px;
          border-top: 1px solid #ccc;
        }

        .hideBtnMiddel {
          background: #fff;
          position: absolute;
          top: 10px;
          height: 66px;
          border-left: 1px solid #ccc;
          color: #ccc;
          line-height: 66px;
          text-align: center;
          z-index: 0;
          width: 12px;
          bottom: 10px;
        }

        .hideBtnBottom {
          width: 20px;
          height: 20px;
          transform: rotate(-45deg);
          position: absolute;
          z-index: 1;
          background: #fff;
          z-index: 1;
          bottom: 1px;
          left: 4px;
          border-left: 1px solid #ccc;
        }
      }
    }

    .navItem {
      float: right;
      // display: flex;
      list-style: none;
      min-width: 67px;
      padding-top: 6px;
      // border-left: 1px solid #fff;
      height: 60px;
      background: rgba(48, 123, 246, 1);
      border-radius: 4px 0px 0px 4px;
      color: #fff;
      font-size: 14px;
      font-weight: 400;
      position: relative;
      // padding-top: 12px;
      text-align: center;
      cursor: pointer;
      word-break: keep-all;
      white-space: nowrap;
      word-spacing: normal;
      -webkit-transition: all .2s ease-in-out;
      -o-transition: all .2s ease-in-out;
      transition: all .2s ease-in-out;
      // &.active{

      // }
      .centers {
        margin: auto;
        height: 60px;
        float: left;
        padding-left: 6px;
      }

      .rightCenters {
        line-height: 55px;
        padding-left: 5px;
        font-size: 21px;
        position: absolute;
        left: 60px;
        top: 0;
      }

      &.activeItem {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        width: auto;
        overflow: hidden;
      }


      &:first-child {
        // border-top: 1px solid #fff;
      }

      &:last-child {
        // border-bottom: 1px solid #fff;
      }
    }
  }
}